#!/bin/bash
if(test -L $0) then auxlink=`ls -l $0 | sed 's/^[^>]*-> //g'`; M_HOME=`dirname $auxlink`/; else M_HOME=`dirname $0`/; fi; cd $M_HOME
. ../before || exit 1
sb2 ./configure --prefix=/usr --enable-http --enable-ftp --disable-file --disable-ldap --disable-ldaps --disable-dict --disable-telnet --enable-tftp --disable-ipv6 --disable-sspi --disable-crypto-auth --disable-cookies --disable-soname-bump --without-ca-bundle
sb2 make
sb2 make DESTDIR=$ROOTFS/ install
touch $ROOTFS/.`basename $0`
